﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using MySql.Data.MySqlClient;

/// <summary>
/// Descripción breve de Conexion
/// </summary>
public static class Conexion
{
    public static MySqlConnection obtConexion()
    {
        string strConexion = "server=localhost;user id=root;persist security info=True;database=essa;password=ramirez";

        MySqlConnection conexion = new MySqlConnection(strConexion);

        return conexion;
    }
}
